←Select platform

Move Method

Summary
Moves the item at the specified index to a new location in the collection.
Syntax
C#
C++/CLI
Python
public void Move( 
   int oldIndex, 
   int newIndex 
) 
public: 
void Move( 
   int oldIndex, 
   int newIndex 
) 
def Move(self,oldIndex,newIndex): 

Parameters

oldIndex The 0-based index specifying the location of the item to be moved.

newIndex The 0-based index specifying the new location of the item.

Remarks

This method internally calls MoveItem, which may be overridden.

This method raises the CollectionChanged event with Move action.

Requirements

Target Platforms

Help Version 23.0.2024.5.22
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.